projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
24b72a4
)
(Ferase_buffer): Don't erase the minibuffer prompt.
author
Richard M. Stallman
<rms@gnu.org>
Fri, 10 Sep 1999 06:32:34 +0000
(06:32 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Fri, 10 Sep 1999 06:32:34 +0000
(06:32 +0000)
src/buffer.c
patch
|
blob
|
history
diff --git
a/src/buffer.c
b/src/buffer.c
index d4c60f966cd11ba2459cbf95904e9f79663d66fb..69bf17283eed6fab490abe196a413bd4935020ca 100644
(file)
--- a/
src/buffer.c
+++ b/
src/buffer.c
@@
-1705,7
+1705,12
@@
so the buffer is truly empty after this.")
()
{
Fwiden ();
- del_range (BEG, Z);
+
+ if (INTEGERP (current_buffer->minibuffer_prompt_length))
+ del_range (XINT (current_buffer->minibuffer_prompt_length), Z);
+ else
+ del_range (BEG, Z);
+
current_buffer->last_window_start = 1;
/* Prevent warnings, or suspension of auto saving, that would happen
if future size is less than past size. Use of erase-buffer